package com.isunland.managesystem.adapter;

import android.content.Context;
import android.view.View;
import com.isunland.managesystem.base.BaseStatusListAdapter;
import com.isunland.managesystem.entity.ZTreeNode;

/**
 * 部门单选
 * 开发者: HuXiaoDan
 * 日期: 2017/1/4 10:31
 */

public class DeptmentListAdapter extends BaseStatusListAdapter<ZTreeNode> {

  public DeptmentListAdapter(Context context, ZTreeNode[] objects) {
    super(context, objects);
  }

  @Override public void bindData(int position, ViewHolder vh, ZTreeNode item) {
    vh.mTvTitle.setVisibility(View.GONE);
    vh.mTvContent.setVisibility(View.GONE);
    vh.mLlPlanStatus.setVisibility(View.GONE);
    vh.mTvContentTwo.setText(item.getName());
  }
}